interface FormItemProps {
  id: number;
  dealerID: number;
  tenantID: number;
  name: string;
  code: string;
  side: number;
  cron: string;
  eventId: number;
  params: string;
  comment: string;
  status: number;
  nextExecutionTime: string;
  lastExecutionTime: string;
  executionCount: number;
}
interface FormProps {
  formInline: FormItemProps;
  title: string; // 用于表单标题
}

export type { FormItemProps, FormProps };

export interface TaskItem {
  Id: number;
  DealerId: number;
  TenantId: number;
  Name: string;
  Code: string;
  Side: number;
  Cron: string;
  EventId: number;
  Params: string;
  Comment: string;
  Status: number;
  NextExecutionTime: string;
  LastExecutionTime: string;
  ExecutionCount: number;
}
